
cmake_minimum_required(VERSION 3.1.0)

project(pipeline_base_cgraph VERSION 0.0.1)

# 默认使用C++11版本，推荐使用C++17版本。暂不支持C++11以下版本
set(CMAKE_CXX_STANDARD 11)

# add CGraph environment info
include(thirdparty/CGraph/cmake/CGraph-env-include.cmake)


aux_source_directory(. SRC_UTILS)
aux_source_directory(src SRC_UTILS)

add_executable(${PROJECT_NAME} $<TARGET_OBJECTS:CGraph>  ${SRC_UTILS})

# target_link_libraries(${PROJECT_NAME} PRIVATE cgraph)